package com.rentong.wx.sys.service.impl;

import com.rentong.wx.sys.dao.SysConfChongzhiHuiyuanDao;
import com.rentong.wx.sys.domain.SysConfChongzhiHuiyuanEntity;
import com.rentong.wx.sys.service.SysConfChongzhiHuiyuanService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SysConfChongzhiHuiyuanServiceImpl implements SysConfChongzhiHuiyuanService {

    @Resource
    private SysConfChongzhiHuiyuanDao sysConfChongzhiHuiyuanDao;


    @Transactional(rollbackFor = Exception.class)
    @Override
    public List<SysConfChongzhiHuiyuanEntity> getHuiyuanInfo(){
        return sysConfChongzhiHuiyuanDao.selectAll();
    }




}